package com.itheima.pattern.t5_proxy.demo1;

/**
 * 代售点类
 */
public class ProxyPoint implements SellTickets {

    // 火车站类的对象
    private TrainStation station = new TrainStation();

    @Override
    public void sell() {
        System.out.println("代售点收取一些服务费用");
        station.sell();
    }
}
